#include "config.h"
volatile uart_txbuffer_t gTransferBuffer;
volatile uart_rxbuffer_t gReceiveBuffer;
void uart_init_frame(void)
{
    gTransferBuffer.header[0] = 'X';
    gTransferBuffer.header[1] = 'J';
    gTransferBuffer.err = 0;
    gTransferBuffer.data[0] = 0;
    gTransferBuffer.data[1] = 0;
    gTransferBuffer.checksum = 0;
}